/*******************************************************************/
/* @ All Rights Reserved Copyright (C) 2014 broada,Co.,Ltd.        */
/*                                                                 */
/*  NAME      = http_chunk.h                                       */
/*  NOTE      =                                                    */
/*  DATE      = 2015/03/04 by geyh                                 */
/*******************************************************************/

#ifndef __HTTP_CHUNK_H_
#define __HTTP_CHUNK_H_

#include "../comm/http_basedata.h"

#define HTTP_CHUNK_OK                0
#define HTTP_CHUNK_TODO              1
#define HTTP_CHUNK_ERR               -1

int de_chunked(unsigned char *p_data,int i_data_length, char **pp_dest,unsigned long *p_ul_dest_length);
int http_chunk_data_get(Frbyte_Packet *p_packet, Http_comm_session *p_comm_session);
int http_chunk_data_skip(char *p_data, unsigned int ui_data_len, Http_comm_session *p_comm_session);
#endif
